What scientists learned when they peered into an octopus' brain