I believe that the death penalty is wrong, given the circumstance it was from a child or young adult anyways.
What I think is that for adults, fine. Go ahead and kill them, so long as it's reasonable such as murder or something of the like.
For Children, I believe that there should be A) an age limit, such as no one under this age or B) That they would have to do something specific...like murder. If it was an accident, however, I don't know. It's not my place in the world to judge others. But I fully believe that no child under 10 should get a death penalty. Something like that doesn't seem right.