add convex.cpp