Added a red  black tree for modification