Simulates the percolation theory.