added a .gitignore file and deleted old files
added core.cpp and Makefile