add algorithm/red-black-tree