Solved max points on a line