added documentation to examples
added documentation to examples