Are there any other ways to iterate though the array randomly?