You handled it perfectly. I have taken the CPR/First Aid courses numerous times since I worked in child care. I should keep up on it, but I haven't.
I always wonder how I would handle a situation like that. I mean, I know (in my head) what to do. But to actually have to put it to action. That's so scary.

I am so glad all is well.