I need to create an algorithm that returns different values each time I run, even though I get the same input values.
It aims to solve an issue where I need to analyze the generation of a certain living being who is more likely to have no children than to have, and to create an algorithm that calculates their generations as long as they have children, and say that it went extinct when there is no more children.