add Python 3.3 compatibility
Merge pull request #6 from NicolasGeraud/python33-compatibility

add Python 3.3 compatibility
fix imports for python 2.x
cleaned up print statement
cleanup print statements