Created a get next event method

The program can now get the current system time and compute what the
next event is based on that.