Writing constructor for Percolation class