This is an implementation of Prim's algorithm for finding
a minimum cost spanning tree.
dan.stanger@ieee.org
