simulates Round robin and Shortest routine first Scheduling algorithms