print tree bottom to top