Second ruby homework assignment