week1 program assignment: percolation