makes polygon with points