playing with markov in python