make compatible with Python 2 and 3

Installed fine using Python 3.4 on Windows, and imports well using `%reload_ext soup` in IPython notebook.