Basic FCFS scheduler. Not sure if works