uses a Monte Carlo simulation to estimate probability threshold in the Percolation problem