Python 3 compatilbity

Hey,

I have ported your excellent library to python 3 while maintaining backwards compatibility to python 2.7, I have also fixed some spelling mistakes.
feel free to hit me up at hamsolo474@hotmail.com if you have any questions