Add example and documentation to README