Added example file for demonstrating events