atoi(): convert string to int