Viterbi search in clojure.