This program implements the Viterbi Algorithm.