root left a b right child c child x