Finding solution in Ruby for Kata06: Anagrams