Graham's number and analogies as the core of cognition