code: def tostring(self, inject):
          
  
          return inject(self, '\n'.join(f'{division.tostring(inject)}' for division in self.divisions))
docs: Convert an element to a single string and allow the passed inject method to place content before any
          element.