Listing 4-15.  Modularized Version of Card Layout