Some comments and new function

I've added a few comments with some questions. I'm leaving those as is for you to review, and to make your own decision. I've also added a timer function to the end. It's basically like the alarm function, but agnostic to what the current time is.