Max points on a line

Watch out for duplicate points