My first solution.
Teacher’s solution with lazy initiation of the deck.
Starting with the back of the card
Disabling when more cards left.