implemented round-robin scheduling and fork