Python 3 fix you can now get a public key from private key