Distribution of chaos and periodic spikes in a three-cell population model of cancer