added log_float class
added HMM class with containing forward and viterbi algorithms