Simple Point of Sale in Java