implement my atob and btoa