How to add new example?

Other improvements and bug fixes (if you find it) are welcome! Just create new pull request and describe what you want to change.