add code in Anagram.rb to pass tests in anagrams_spec.rb