The UK's justice department has confirmed it is working on developing algorithms to predict which criminals will later become murderers.…