pub fn transitive<T>(seed: T, map: impl Fn(T) -> T) -> Twhere T: Clone + PartialEq,
For a given f(x), processes x until f(x) = f(f(x)) -> f(f(f(f….f(x)))) = f(x)
x