add LCA, layer travesal and balanced tree