fixed problem with percolates and implemented PercolationStats.runSimulation()