Generate random words using Markov chains