added LGPL header and doxygen headers
Merge pull request #617 from mehlis/examples-license

added LGPL header and doxygen headers