Changed CardLayoutExample to incorporate the exercises