Patch 1

Add support for Python 3.x.