Update to Python 3

Update the files to support Python 3 instead of Python 2