Pregunta de entrevista de The Zappos Family

programming question : implement parse integer method.