Converted to Python 3
Converted to python 3