Remove code to handle duplicate points; assessment clearly states that all points are distinct; no need to over-engineer!