Distances in Trees