Lab4 final
Lab4 gc.c refactor