binar tree search. finally its done