Implementation of a deck of cards in Ruby