Update Alarm.py

added main method