Simulated a CPU queue using different scheduling algorithms