completes assignment 1, loading back of card, drawing a random card from deck when flipped to front, and staying on back of card when deck is empty