What is the purpose of the cell cycle?