Add adjacency list to node class.
Add unique identifier for nodes.