Add Python 3 support.
Merge pull request #3 from berkerpeksag/python3

Add Python 3 support.