Support Python 3.x

Solves #13