Implemented a fifo and its test bench