Applied Algorithms HW1 Percolation