changed Makefile so it can build .c files, added test.cpp