Implementation of various scheduling algorithms