code: def append(self, data):
          
          if isinstance(data, list) and len(data) > 0:
              self.nodes.append(data)
          else:
              self.nodes.append([data])
docs: Appends items or lists to the Lattice
  
          Args:
              data (item,list) : The Item or List to be added to the Lattice