Pretty print tree hierarchically