Algorithm Implementation/Viterbi algorithm

The following implementations of the Viterbi algorithm were removed from an earlier copy of the Wikipedia page because they were too long and unencyclopaedic - but we hope you'll find them useful here!