RB Tree first function