Added drawCard() function.