Added equal() methods to Cycle, Phase, and Event classes to allow direct comparisons.