added hmm from Prof. Langmead. commented a little. will edit to fit our problem later.