Corrected polygons: passing in length of sides instead of just number of sides