Finished basic adjacency list implementation