Update README.md

Fixed some errors in the example code. This is what I get for being an insomniac.