[algo-week I-percolation] Add tests and test data.
[algo-week I-percolation] Bug fixes.