update and review rebuiltBinaryTree, SumOfPath, TraverseByTier