implemented viterbi algorithm
added base line model for comparison