Fifth iteration for anagram