Added Prim's algorithm's lazy implementation to find MST.