add method to print cart contents and a bug fix for adding items