Creating programextgc.py for Part 2 code (with GC)