Implemented base 64 encoder/decoder