code: private void removeNode(Node node)
  	{
  		result.remove(node);
  
  		for (Edge edge : node.getUpstream())
  		{
  			result.remove(edge);
  		}
  
  		for (Edge edge : node.getDownstream())
  		{
  			result.remove(edge);
  		}
  	}
docs: Removes the dangling node and its edges.
  @param node Node to remove