Use only format function for string formatting
Fix grammar so that print() is a function
Fix idioms
Fix iostreams