Modify cpp files for 20-trials and scoring