WIP ENH: Add event histogram example

I have some failing tests, not yet ready for review.
as you prefer. I just wanted to avoid bit arithmetics to avoid people
getting scared :)