remove duplicates from list
word search