Third iteration for Anagram