just added the main.cpp file
modified main.cpp just to try it out