Written documentation for the library

Three new examples written