fixed add method for binary tree