code: def border(self, L):
          
          if self.shape == L_shape:
              L.append(self.value)
          else:
              for x in self.sons:
                  x.border(L)
docs: Append to L the border of the subtree.