add radix-50 encode/decode functions