Implementation of task scheduling algorithms in operating system