My first implementation of a bounded FIFO structure