rewrote adjacency list representation; have not even compiled yet