Added "How to create an event subscriber"

I've added the information about how to create an event subscriber to the "How to create an Event listener" cookbook recipe. I think that there isn't a recipe in the cookbook about that and it can be useful.
I'm sorry but I'm afraid that I don't understand you. Could you please give me an example?