Simple bond percolation in python.