Sequence simulation
HMM simulation. Only one state is chosen randomly.