adding HMM code, HMM example, and filter code