Added makefile and remove test.cpp