markov text exercise