Anagram backtrack