Made code compilable with the following command:
g++ *.cpp -lboost_program_options
The boost library has to be installed on the system; I don't know how to fix that right now.