anagram
refactor