flattree
pub fn left_child(i: usize) -> Result<usize, TreeError>
returns the index of the left child of the element