add quantity column to cart for multiple purchases of same item, changed cart layout to table, added totals, added method to empty cart, handled invalid cart errors