How can I iterate through each item in an array in a random order using c++?