Setting up APIs/structure for Percolation problem