add implementation and test of prim's mst algorithm using the heap data
structure