Change format for Percolation.java