finished non_repetition_generator.py to generate as many strings as I want, with no infinite loops