Changes from work.

Percolation now passess all the examples that were given.