fixing the punctuation and making the code valid for python3