[fifo] Added last working version of program.