Shortest Job First Implementation