Added Polygon class and some tests.

Polygon class basically wraps a vector of <vec2> vertices. It handles
dynamic allocation and deallocation of that vector.