Change algorithm Viterbi
Merge pull request #5 from Snezhana-Sarmanova/master

Changed algorithm Viterbi