revised PolygonBySideLength as per Alejandro’s suggestions
-also added math to draw polygon around center