the solution of String to Integer atoi