removed the word list and removed printing of non-anagram words
moved words list back here