add some new comments and red-black tree