Finished magicalOrdering(), updated Graph, Vertex