Finished the round robin scheduler