Big changes. Decided to just represent the graph as a matrix and as an adjacency list as I build it instead of building an entirely separate graph.