Python 3 support

Fixes #107 
Don't we need this?