Even better, directed graph output works correctly. The printVertexList will be very useful elsewhere in the graph class so be sure to emulate how it handles directed graphs.