Congrats on dealing with your adversity! While perhaps not the most efficient in time & use of CO2 cartridges, you got home okay. And now you've had more practice with a CO2 pump, removing & installing a wheel, and changing tubes.
Many are likely to recommend a frame or mini pump, so that you don't run the risk of running out of inflation.
__________________
"Too often I would hear men boast of the miles covered that day, rarely of what they had seen." Louis L'Amour
There are two types of road bikers: bikers who are faster than me, and me. Bruce Cameron - Denver Post