PercolationStats class