Implementation of a Round Robin Scheduler in C++