An Hypothesis on the Evolution of Intelligence