Crystal structure of an endonuclease