rename doc to docs
added documenation of examples with code