added end of line concept to markov chain
fixed errors with adding sense of last line