Added more stuff to the README.md:

* Added installation instructions.
* Added a more in-depth example with inputs and outputs. Fixes #1.