Adding base64 routine