[Q14.6]implement a iteratable CircularArray class