started implementing class CircularBuffer, far from done.