Adding BT and maxPathSum, sum methods.