A solution for NYU's Scheduler Lab in Operating Systems Class.