Binary tree example -Recursion version