hmm basic aglorithms: forward ,backward, viterbi, baumwelch, monte carlo sample ,multinomial sample (for study)