atoi.cpp corrected