advantages and disadvantages of prim's algorithm