BerlinClock implementation for java skills test