Work on binary tree