adding makefile and test(the test is not working yet)