Updated HMM document

Wrote the introduction section.