Added Hashmap to keep track of the cart