draft of Anagram.class