adding Makefile and modify main_test.cpp