[LintCode] String to Integer(atoi)