Added functionality for when the deck runs out of cards