Create a class called ShapeFactory. The constructor should accept a side length and a color that should be used for all the shapes. The class should contain methods for drawing squares, triangles, and polygons (this method should accept the number of sides as an argument).
After the class is fully developed, test it out by creating an instance of it and calling a few of its methods and then repeat with another instance constructed with different values.