Update cart.rb

Initial commit of cart.rb