Fix generateString to use the nth-order Markov Chain

The strategy is to just try n words, and then n - 1 words, and so on. It is
probably a little innefficient, as it doesn't really keep track of what the
max n might be.

generateStringWithSeed is not updated yet.