Coding on Scheduling Algo