modified binaryTreeGui and tests