An implementation of Kruskals Minimum Spanning Tree in Java.