Add file main.cpp to execute algo with options.