add function to remove all duplicated words in the wordlist