From the dark centuries of the Middle Ages to the 1960s in Britain, the criminal law executed felons and someone had to hang them.