Added examples for all patterns
Merge branch 'master' into gh-pages