character cross - a first attempt in Ruby