Fourth commit

The output stream for debugging purpose has been commented out since the
file becomes so large for large instances of run and large total time of
simulation.