Function to create a random list for crossover studies