Analysis of capital punishment: pros and cons