This program reads in a text file and counts duplicate words