Py3

This adds Python 3 compatability