Text generator baed on Markov chain