https://allaboutreact.medium.com/in-c-write-a-method-that-follows-the-collatz-conjecture-e0c7a6df8742