This version of the graph structure has the vertices store their neighbors/edges
instead of using a separate LinkedList to store the edges.