add Cart class
add tests for Cart class methods