refactored anagram.rb with spacing and variable naming conventions
fixed anagram.rb with enumerable methods for more idiomatic ruby