An Implementation of the Berlin Clock using Java