os.c:Added a global fifo and wrapper functions for lab2