Anagram pigeonhole