Fixed Issue #1, and adjusted  which was slightly wrong. There was a simple off by 1 error causing the program to multiply by the GENERATOR one extra time.