Speed up Shape.vertices
Speed up Shape.vertices

Shape.vertices method ran in O(V^2) time. This caused noticable delays
when changing frames. The Shape.vertices method now runs in O(V log V).
Which is an acceptable time.

moyamo/polygon2square