Just messing about with hidden markov models.