First draft of Polygon class [not-tested and incomplete]