Added calculations to cart.php

Added calculations and additional SESSION variables to simulate a
database.