A IPython notebook visualizing the Viterbi algorithm, implemented with log probabilities