Written skeleton for polygon union operation.