Made slight improvements, added new example which encodes and decodes base58 strings from/to hex