union-find and simulation implementation for finding threshold portion value of n-n-grid percolation 利用联合查找和蒙特卡洛暴力算法寻找"渗透问题"的阈值解/迷宫通路查找