Predicting price using HMM