changes to Percolation.java to avoid backwash