Anagram compiling