What is the function of the nucleus of a cell?