What are the functions of cell nucleus?