code: def split(self, length, vertical=True):
          
          # also know as [minx, miny, maxx, maxy]
          [left, bottom, right, top] = self.bounds
          if vertical:
              box = [[left, bottom, left + length, top],
                     [left + length, bottom, right, top]]
          else:
              box = [[left, bottom, right, bottom + length],
                     [left, bottom + length, right, top]]
          return box
docs: Returns two bounding boxes representing the current
          bounds split into two smaller boxes.
  
          Parameters
          -------------
          length:   float, length to split
          vertical: bool, if True will split box vertically
  
          Returns
          -------------
          box: (2,4) float, two bounding boxes consisting of:
                            [minx, miny, maxx, maxy]