Update event.py

Added priority to Event