Here's the pseudo code for the answer
-Loop from 0 to suits.length
-Loop from 0 to ranks.length
-Create an array that stores 
the current suit and rank and 
add it to the end of the deck
array: deck.push(cardArray)