Refactored demo code to rotate through a set of polygons and perform the subdivision algorithm. Choose better colours.