C++ implementation of a Convex Hull algorithm (divide and conquer)