markov chain for generating corpora