THIS IS OUTDATED!!!! GO USE MY IMPROVED VERSION!!! Like my Trigram Markov Chain, but dynamically sets the gram to best fit the input. It works by initially setting the gram to the amount of words in the prompt, and reducing gram one by one until it can predict the text. You can add anything to the database, just add another item and it'll automatically re-train it when you enter an input. Feel free to use with credit.