c# implementation of the alarm clock design program