Made example in README.md compile, Event -> event.

Just a tiny thing, the example in README.md use Event instead of event.