print tree in vertical order