app anagram complete (not efficient)