Added more advanced example

Example, which should be runnable to demonstrate features.