Fixed if statement for vertex dependenecies in printEdges