code: def add_element(self, element, col, row, cols=1, rows=1):
          
  
          # Update the number of rows and colums
          self.rows = max(self.rows, row+rows)
          self.cols = max(self.cols, col+cols)
  
          # Add the raw element record
          self.elements.append((col, row, cols, rows, element))
docs: Adds the given element to the given position in the grid,
          with the given size. There is no limit to the number of elements
          that can be assigned to the same cell(s).