Death penalty- is it necessary/effect deterrent?

Discuss the death penalty and if it is a necessary/effective deterrent