Moved sample to a directory of its own and improved the documentation.

Fixed #6. This should be a completely unproblematic merge.