Update README.md

Added explanation of example code