add implimentation of atoi