Removed test1.cpp: relaced with main.cpp. Created header and function fi...

...les.