Changed time complexity description of dijkstra.
Added prim's algorithm