Binary Tree problem solved