Create MaxPointsonaLine.cpp