For a detailed explanation of the project, read Project1.pdf
How to compile In a terminal, call commands:
cmake CMakeLists.txt && make
Make sure the executable is produced.
Then you can test the project with the command:
./project1 inputFile outputFile