Anagram simplifier