Pending and Elevator algorithms done