Update newcode.c fixes #1

Added the number of iterations to the name of the final plot file