statement tree printing