Added basic text generation using Markov chain.