Generating all closed 3-manifolds from handlebodies and poligonal schemes