Added second Viterbi algorithm with bigrams.