Implementation of the Kernighan-Lin algorithm in Java