code from lab website with makefile