A quick C++(11) program that takes the input graph as an edge list, and outputs an equivalent graph in which index vertices are minimized.