which part of my brain deals with thinking
There are also those who say that creative processes are right brain activities and nonlinear, whereas rational thinking is left brain and linear. But even these divisions are suspect, since creativity which is supposedly right-brain can leverage language and logic which many would locate in the left brain.