added readme, added header to main.cpp