A Markov sentence generator in Python