code to find a convex hull