Clean whitespaces.
Make Python 3 (3.3+) compatible.
Merge pull request #2 from hongquan/master

Python 3 support. Fixes #2.