Algorithm design analysis and foundation, using brute force method to solve convex hull problem