finished RingBuffer

edited size, enqueue, dequeue