Drawing polygons with coordinates