Final version Alarm clock-Priority scheduler