Modified task 9 (and task 8) so that large number of samples can be
generated and a dynamically determined amount of them is written to the
output file. (This is optimized for logarithmic plotting.)
Added sehll script for plotting in task 9 (using gnuplot).