Markov chain generator written in OCaml.