Removed unreachable code from anagrams