added documentation to the examples
added documentation to the examples