turned anagrams into a class with rspec