Initial attempt at gigasecond exercise.