Added scaffold for dynamic programming implementation of Viterbi algorithm.