Delinted markov.py