add red_black_tree algorithms