Get a markov chain