A simple program that documents words in a text file