Finalizes shuffleDeck() method.