code: def simple_networkx_dense_graph(num_edges_removed=0):
      # TODO: restrict value of num_edges_removed
      G = nx.DiGraph()
      for i in range(5):
          G.add_node(i, node_label=0)
  
      cnt = 0
      for i in range(5):
          for j in range(5):
              if cnt >= num_edges_removed:
                  G.add_edge(i, j, edge_label=0)
              cnt += 1
  
      return G
  
imports: import numpy
  import networkx
  import random
  import torch
  import itertools
label_desc: Use image node_id 4 for calling a global function with example usage: simple_networkx_dense_graph(num_edges_removed) and returns: G