add suboptimal prims mst algorithm implementation + test