Changing the main.cpp to save the output into a txt.
Changing the main.cpp

include cin
Merge pull request #3 from BayemanLawin/master

Merge from BayemanLawin