Create a Markov chain