fix #521, fix #524
* The examples/ directory is renamed to example/ * Each program is in its own directory with its own build scripts