improved examples/

add Makefile to make all examples via implicit rules
hide main() behind #if defined set in Makefile rather than comment
correct one identifier in fourth example
Merge pull request #6 from eddelbuettel/feature/improved-examples

improved examples/