added preorder, inorder, and postorder printing of the tree