FIFO Manner Semaphores
added Consumer and Producer Pattern with an additional finite version