Deepti's Level 1 Countdown submission

Uses a global variable to keep track of time, while utilizing setInterval and clearInterval.