I have two dimensional array. I want to pick a slot at random, and continue to do so never picking the same slot twice until I have finally picked all slots (so nothing ran
Take a look at the Fisher-Yates shuffle. It's designed to pick a random permutation from a set.