I don\'t know why this is happening but I need help to understand why the program is crashing. My program intends to use the Kruskal algorithm to find the lightest paths between