Added documentation.
Merge pull request #5 from baschtl/write-documentation

Added documentation.