The implementation of my class MST.

I choose the Prim's algorithm to generate the minimum spanning tree, and learn to use priority queue in STL.