Percolation problem in Java using Weighted Quick Union algorithm.Includes testing.