Update MinSpanTree.cpp