Added the notion of sub-tree depth into functionality with addDepth(node)
Added the notion of depth at each level. Each node will know its subtree depth after using addDepth(node)