Anagram intelligently