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
static void primMST ( int inputGraph [ ] [ ] , double logGraph [ ] [ ] ) {