Created abstract data type to store a set of cards.