Fix encing problems and markov chain with given starting word not picking from all possible choices