Implementation of ConvexHull
ConvexHull sample