Change deck to use stack instead of list