You are to write methods that will allow you to emulate a deck of cards to be used to play games of chance Deck Description:
• There is a deck of 36 cards:
– Each card has value - a number in the range of [1, 9] printed on it - 9 possible values.
– Each card has a suit - ["Club", "Spade", "Heart", "Diamond"] printed on it - 4 possible suits.
– Thus we will use the numbers from 0 to 35 (inclusive) to represent the cards.
– Given a card ([0, 35]): the card’s number is given by card % 9 + 1; the card’s suit is given bycard / 9, where 0 = "Club", 1 = "Spade", 2 = "Heart", and 3 = "Diamond".
– The deck is "cut" by picking a random point to divide the deck, and then swapping the stack of cards below the cut point with the stack at and above the cut point.
– The deck is "shuffled" by doing the following repeatedly: "cut" the deck, then divide the deck exactly in half - creating two stacks, and finally recombining the two stacks back into one by selecting the top card from each stack (in alteration).