added hmm_demo script