ruby assignment # 2