created cart class to hold line items