Simple implementation of Markov's chains You should mark end of sentences by "END" to generate correct start words. (In future it'll be fixed)