Implement Viterbi token-passing algo.
Fixes.
Add node to graph in test.
Convert viterbi test to example.