Add Max Points on a Line.cpp