Iterative version of function for finding nodes with one child