Correcting main.cpp
Adding arguments to function main in main.cpp file
Adding information about working of program
Merging file main.cpp
Correcting error in main.cpp after merging
Correcting error in main.cpp