Function for dealing a card