Add graph representation using adjacency list