Kruskals Algorithm Practice