Cleaning up the code formatting in README.md

changing python2 prints to python3 prints, fixing syntax of error example