Add the solution for 'atoi'.