Polygon drawing partially implemented