Added convex hull. Started using C++11..