Develop a generator of the Collatz Sequence for Problem 14.