Rewrite some examples from zguide
Use cmake to build all examples
Add parallel pipeline example