add path for binarytree