Simple python script to learn words from text file.