implementation of base64 encoding

still need to do decoding