Initial commit of forked version for Python3