FCFS and consumer algorithm added