you have four suits [ "S", "H", "D", "C" ]
you can loop through the list of cards, i.e. [ "1", "2", "3", ..."52" ] and for the first 13 cards add the "S" suit to the card number to get "1S"....and so on for all cards up to 13, when you get to 13 change the suit.

hope this gives you some idea. Let me know if you need some more help. :)