Update API and add exception for current specs.

This is an update for the current assignment specification from <http://coursera.cs.princeton.edu/algs4/assignments/percolation.html>.

I have tested this against the graders, and all tests pass.