A markov generator (in python!)