CoreGraphics demo displaying polygons based on the number of sides you choose