Updated README with documentation and an example. #10