viterbi is correct for 5, 2 example