add function to iterate over all symbols
fix supervised train emission test
add states bed
add some more hmm tests