Tree printing

Added tree printing