cash_register.rb homework