flattree
pub fn children(i: usize) -> Result<Vec<usize>, TreeError>
returns [left_child, right_child] of the element