Added simulated data in which each entry of the .csv. is drawn uniformly from [0,1).
Commented out .show() to prevent flooding the screen with hundreds of Preview images.
Create output directories if they do not exist already.