- reimplemented HMM: use transition table and emission table to hold
information

- implemented forward algorithm

not tested