Visualizer for the percolation problem