Markov chain-based text generator