add the xtree library

Signed-off-by: yayanyang <yayanyang@gmail.com>