added findMaxPoints.java