I struggle with understanding how to use yield in recursive functions. Is it even possible, or do I have to rewrite the function to be iterative in order to use
yield