Implemented Card and Deck classes.