problem 1: ruby