Adding python 3 compatibility
Merge branch 'python_3_support'
#9: Adding python 3 compatibility, and fixing previous tests
Merge pull request #13 from magmax/master

#9 python 3 compatibility