Percolation : An application of Union Find Algorithm