*BROKEN BUILD* Half-way through implementation of first order HMM