Update event.py

Removed the create_task function--Brian created task.py which does the same thing. My fork didn't contain this file so I didn't know it existed.