Create trigger.py

Included skeleton for the logic