finished percolation.java
fix bugs and add testing data.