Here is a link that will explain a lot:
http://en.wikipedia.org/wiki/Paroxysmal_supraventricular_tachycardia
I've had this for 50 years starting when I was 15. Yours was of very short duration and is very common in many people. Get a complete physical if you need reassurance and one should be done annually at your age anyway.
Thank you for your comment