round robin scheduling in c