first iteration anagram