Add anagram enumeration functions