Added option to create randomly generated lists of integers to test running times.