Updated readme.

Added installation and usage instructions and a example.