homework 2 ruby