example in header

It's is good to have example how to use library at top of the code. 

Usually I open libary source code and sometimes it requires time to understand how it works. Then I open documentation. I want to avoid last step.