Percolation: 
Refactor the index i and j from 0~N-1 to 1~N