code: public void disconnect(Node<T> o, Node<T> t) {
      if (!o.equals(t)) {
        o.disconnectFrom(t);
        t.disconnectFrom(o);
      }
    }
docs: Removes the edge between two given nodes. (Does nothing if the nodes are not connected)
  @param o the first given node
  @param t the second given node