Compiles.

Created a custom Time class since LocalTime is only available in Java 8.
Program compiles, but crashes when run.