Tennis kata in Ruby