Accused murderer charged with attempting to kill fellow inmate