Implement a simple FIFO scheduler.