Simple Markov Chain Generator