Changed the makefile, added updated final.c file and dependencies.