code: def __init__(self, node_id, n):
      self.node_id = node_id
      self.color = -1
      self.adj_list = None
      self.adj_color = [None for _ in range(n)]
  
imports: import itertools
  from collections import defaultdict, deque
  import networkx
  from networkx.utils import arbitrary_element, py_random_state
label_desc: Use image node_id 1 to create a new _Node object  with example: obj = _Node(node_id, n)