def __init__(self, size):
self._storage = []<EOL>self._maxsize = size<EOL>self._next_idx = <NUM_LIT:0><EOL>
Create Replay buffer.

        Parameters
        ----------
        size: int
            Max number of transitions to store in the buffer. When the buffer
            overflows the old memories are dropped.