Python3 compitable.

Added Python3.3 support.
Both versions passes on all tests.