Added an algorithm for shortest queuetime