Recursive traversal of binary tree.