edf-earliest deadline first premitive: i have implemented with my own concept of simulation threads and making them wait on the execution time