Create MaxPointsonaLine.java