construct and binarytree_to_linkedlist