Finished task E: A Smarter Cart