private key to wif - need help converting to base58encode (step 6 to step 7)
Version byte 0 is for addresses, for an uncompressed private key you want 128.

https://en.bitcoin.it/wiki/Base58Check_encoding#Version_bytes