Modify output of main.cpp slightly and add results.