Converting python 2.x code to python 3.x

Last updated