A neural architecture for reasoning, decision-making, and episodic memory: taking a cue from the brain