Update README.md

Fixed some examples with invalid code.