anagrams and duplicates deletion