find out words in both input and wordlist.txt