Initial commit of the RingBuffer class.