Function to construct and print MST for a graph represented using adjacency matrix representation inputGraph is sent for printing actual edges and logGraph is sent for actual MST operations
void primMST ( int inputGraph [ V ] [ V ] , double logGraph [ V ] [ V ] ) {