Added examples of events and event listener usage.