Update README.md

fixing example code mistakes