Playing card collection ex lecture 7 stanford