A simple ring buffer implemented as an Array.