Add Eq trait for Point2 and Point3.

This is needed for them to be hashable.