changes were made in main.cpp
added a test outputfile named ori.txt