Hidden Markov Model implementation in Python.