horizontal tree printing complete
vertical tree stuck