add MaxValue of pgm to the constants
add comments to main.cpp
output files in a separte directory
add comments to the modules
add .gitignore