Adding python markov chain