rbtree: add successor and predecessor functions