added files for hmm

hmm prototype