Python 3 support

Add support for Python 3 in frozendict.