Work for Coursera Algorithms Class - Percolation HW Assignment