added a cardstack class to represent a stack of cards