Switched to MarkovKey for keying
Removed extra spaces at the end of test inputs because they were throwing the output off
Optimized getNextStringByIndex