A stupidly simple Markov chain generator