Added an adjacency list that hopefully work.