code: def environment(self, atom):
          
          return tuple((bond, self._node[n]) for n, bond in self._adj[atom].items())
docs: pairs of (bond, atom) connected to atom
  
          :param atom: number
          :return: list