Add Prim MST Algorithm to EKGraph