Added Python 3.3 compatibility

I added python 3 compatibility using the six library. It installs correctly on versions 2.6, 2.7, and 3.3.