Convex Hull Generator in C