Create alarm_assignment.py

This is an alarm assignment written in Python