start implementing ConvexHull