[Improvement] Continuing implementation of adjacency list.