Makefile for automatic compilation and linking was added; some modification to test.c