CS 132 - cards.c