I learned how to do this in 8th grade homemaking and have used this technique ever since. Eggs turn out perfect every time!
Put eggs in sauce pan. Cover with cold water. Bring to a boil over high heat. Cover pan, turn off heat, leave the pan on the stove and let it sit for 20 minutes.