The three steps of the bacterial immune CRISPR-Cas system