Add solution to anagram.rb and add anagrams_spec.rb