Convex Hull generation

Following js code generates convex hull, using Graham scan algorithm. The whole process takes O(nlogn) time complexity.

Number of points on edge : 0