Python 3 support

Py3 support