Finished Generator, set Program so that it was able to use Generator (for both debugging and future use means)