Hub Labeling Algorithms