i have a program to calculate the MST using prims algorithm but the only way i have it working is if the input is the actual adjacency matrix. the input we are given is 2 files. 1 for the verticies and 1 for the edges. how can i turn those into a adjacency matrix? here is sample input for the files. my question is how can i turn those 2 files into the matrix i need so my input will come from the files instead of me hardcoding it in