fixed #3: Added some examples and documentation.