Setup Prim's MST alg, updated Graph class to fit