fifo added; sorting by arrival and execution times; misc changes and global additions