percolation-algs4 -> added a throw case.