add leecode solution for atoi.