This is a simulation of round robin scheduling.