How Homo Became Sapiens: On the Evolution of Thinking