My implementation of Base64