update cards_random function to create a random card sequence