Revert "Reformatted the line of if-elses in createRandomPolygon"

This reverts commit b6df1273d3d48409cec2262e2c4d4d03901a875c.