Get Maximum height of a tree