added a getRandomCard method to Deck class.