What is purpose of the central processing unit?