Simplified. I think FCFS is working.

Pretty sure FCFS is working, the other algorithms run identically for
some reason though. I run it with parameters "pwd 10 100 FCFS".