testing case for Percolation.java