Sixteenth commit

The problem of sharp jump which was seen at the end of the simulation at
high percolation densities, is solved in this version.
A debugging version of the code has also been added to the repository.