removeAdjacent(node) {
    const index = this.adjacents.indexOf(node);
    if (index > -1) {
      this.adjacents.splice(index, 1);
      return node;
    }
    return undefined;
  }
Remove node from adjacency list
Runtime: O(n)
@param {Node} node
@returns removed node or `undefined` if node was not found