Added operator[] and reverse iterator to C++ RingBuffer