updated clearance_discount method in random_cart.rb to accept item and discount ratio. wrote test for this method.