Added docstrings. Started an examples subfolder.