Update binaryTreeAlgorithms