Even without a brain, this slime mold knows where it’s been