check anagrams
swapping with zeros
check anagrams