Anagram initialization