HW3 HMM exercise completed