Improving your memory can lengthen your life.