ruby homework assignment #1