Anagram nested