Second Challenge using ruby