Add Makefile; Modify main.cpp