Added base markov chain generator