Create Max Points on a Line.cpp