-method for the creation of a deck of 52 cards
5: def initialize;reset;end
-method to add a card to the bottom of the deck(the card should not already
be in the deck)
11: def bury c;!@d.include?(c)&&@d.push(c);end
-method to return a value with total number of cards in deck
13: def count;@d.size;end
-method to return the top card of a deck and removes it from the deck
9: def draw;@d.shift;end
-method to reset the deck to 52 cards
15: def reset;@d=[];Ranks.each{|i|Suits.each{|j|@d.push i+j}};end
-method to shuffle a deck of cards
7: def shuffle;h=[];@d.each{|crd|h.insert(rand(h.size+1),crd)};@d=h;end
-method to return values of the cards in the deck ( H6, C3, SK, etc )
17: def values;@d.inject{|s,c|s<<" "+c};end