Fixes code errors in README.md