bstree to linked list

converts a bstree to a linked list.