print anagrams in list