adding example code for implements #106 thanks to #147
Merge branch 'master' of github.com:processing/processing-docs