Added time delay for output, checking results, random number generator