Added recursion with a check to ensure the same card cannot be picked twice from a single deck.