Fixing typos in events example
Fixing scope of variables in event handler function
removed global keywords
Merge pull request #159 from nawaidshamim/master

Fixed typos in events.py example