Small program to train on text files and generate new text based on this language model