Added new command line option -I to set number of iterations.