fifo.c: added FIFOFree binary semaphore functionality
fifo.c: solved conflicts