Added some logic to CashRegister and Supermarket