Sample task for Java Developer candidate. Implement a simple point of sale (PoS).