working when all processes arrive at time 0