renamed graphTest, created minimumSpanningTree