I think it is very wrong, I'm very opposed to it. Doesn't make sense to punish someone for murder... by murdering them. I don't know, just seems inhumane and immoral to me. We aren't living in the middle ages.
And you can never know for sure if someone is 100% guilty. There have been quite a few cases where someone was killed for a crime they did not commit.