The Learning Brain: From Perception to Memory Formation