Basic anagram class