altered for Litecoin
Added new configuration variable cointype

if set to scrypt then flips everything to KH instead of MH