Added example and documentation to README.md