implemented example of emulation of FIFO scheduler algorithm