Update README.md

Added small explanation and sample code.