Implementation of the Round Robin algorithm for process scheduling, with and without considering arrival times (preemptive), calculating turn around time, wait time, and their respective averages, along with functions to sort processes based on burst times.