Remain compatible with Bitcoin bip32

test cases now pass correctly
Merge pull request #12 from wozz/patch-1

Remain compatible with Bitcoin bip32