stupid rearrange code.
Unit tests are all good.
Added a constant to the base58 code for the private key version number