Added assignment algorithm 1 Percolation