Setting up base classes for hmm and viterbi.
HMM basic functions added and unigram scorer finished.