Programming help needed!

I am trying to fix my generateDeck(), which assigns cards in reverse order and I think I accomplished that. However, I am trying to shuffle the cards 100 times and I am getting trouble modifying this part. May I have some assistance please, thanks!