Simple program for learning words, with option to read from formatted text file