Simple erlang ring buffer (circular buffer, cyclic buffer)