Correlation function and which random number generators should I use

The following Python code plots the results for the correlation function from the above program.