code: def _parent_tile(tiles):
      
      parent = None
      for t in tiles:
          if parent is None:
              parent = t
  
          else:
              parent = common_parent(parent, t)
  
      return parent
docs: Find the common parent tile for a sequence of tiles.