updated code on cart.rb to have quantity of items