Print tree in the increasing order of its height.