draft of FCFS algorithm completed

The algorithm (schedule_function) will be passed into the simulator as a parameter.