M2 Project – Hidden Markov Model