Sys.c framework for project 4