fifo: added fifo_peek() and header file