FIFO lib added

General purpose FIFO utilities.