Add Basic and Advanced Usage examples, in code.

This adds an "examples/" directory to this package which contains
runnable examples. The Basic Usage example's code still remains in the
README, while the Advanced Usage example's code now only exists in the
"examples/advanced/" directory.

Closes #22