prepare program redBlackTree