Adding main.cpp and makefile