Programming assignment 2 started, working code until mapping of text to correct Markov model