print tree in a vertical way