How Hidden Markov Model Works For Speech Recognition