Simple Viterbi works