began implementing convex hull algo