implemented insertChildrenAt method (untested)