Optimize my Shuffling algorithm.