binary tree and recursive linked list reversal