implement '--iterations' command line option to execute for a fixed number of iterations

Signed-off-by: Steven Noonan <steven@uplinklabs.net>