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
def primMST ( inputGraph , logGraph ) : NEW_LINE