A C# implementation of Prim's minimum spanning tree algorithm