Added prefix/infix/postfix print for Tree.