prints t's keys in preorder access order
printtree(t);