refactored word_is_anagram? to is_anagram?