Cancer cells turn out to have memories. But these are unreliable and can end up causing trouble