implemented base32 decoding