Michael's Ruby Anagram Solution