Made a round robin scheduler