Fixed a bug in the Markov generator that stopped the example from working.