a missing == was causing errors (line 72 in Prims Algorithm.cpp)