Finished binarytree actor with 100 percent correctness