Implementation of modern os scedul simulator