int sum(const Node* t) { if(t == NULL) return 0; else return t->item + sum(t->left) + sum(t->right); }