Fix gmst::Prim(), fix graph::GetEdge(), fix iheap::getMin()