Anagram simplifying