Find the Diameter of a tree.