Added another version of the Viterbi decoder.