Updated ShapeVectorToy to use setPolyPrimitive instead of manual PolyList points

Users can now create a polygon with 3 to 20 vertices, or a circle.