CS193P Card Matching Assignment