Pergunta de entrevista da empresa The Zappos Family

programming question : implement parse integer method.