add binarytree. closed #1