fixed random number generation and counting the first itteration of the shuffle loop