Main simulation class and the FCFS algorithm completed, the Event class is a helper class for the simulation. You can safely ignore it if you'd like. I put a lot of comments in the Simulation class.