Ear clip

New ear clipping algorithm based on section 2 of http://www.geometrictools.com/Documentation/TriangulationByEarClipping.pdf

I used slightly different data structures.  I used 1 doubly linked list and 1 array instead of 4 doubly linked lists.