A menu driven program which allows the user to simulate the following common probability events:
Each of the first three options returns the x values in list 1 and the frequencies in list 2. List 2 is displayed when the program exits.
The histogram routines examine the data and pick suitable limits for the viewing window.