Python 3 support

Add support for Python 3.3