Origin of Mind: Evolution of Brain, Cognition, and General Intelligence