Create hmm.py