Improved randomness*, added summation to produce graphs.

* Randomness is based on timer ticks. If the same seed is used, the same
output results.