Implement viterbi algorithm
Merge branch 'dev'