An interactive polyline/polygon program