Added Java Doc

Added Java Doc and cleaned up code, removed repeated code in the
clockDisplay