Move the shuffleArray function inside the module.