seg fault with char **children